package com.fudan.adse.domain.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class FilmExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FilmExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNull() {
            addCriterion("direction is null");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNotNull() {
            addCriterion("direction is not null");
            return (Criteria) this;
        }

        public Criteria andDirectionEqualTo(String value) {
            addCriterion("direction =", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotEqualTo(String value) {
            addCriterion("direction <>", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThan(String value) {
            addCriterion("direction >", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionGreaterThanOrEqualTo(String value) {
            addCriterion("direction >=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThan(String value) {
            addCriterion("direction <", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLessThanOrEqualTo(String value) {
            addCriterion("direction <=", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionLike(String value) {
            addCriterion("direction like", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotLike(String value) {
            addCriterion("direction not like", value, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionIn(List<String> values) {
            addCriterion("direction in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotIn(List<String> values) {
            addCriterion("direction not in", values, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionBetween(String value1, String value2) {
            addCriterion("direction between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andDirectionNotBetween(String value1, String value2) {
            addCriterion("direction not between", value1, value2, "direction");
            return (Criteria) this;
        }

        public Criteria andReleaseDateIsNull() {
            addCriterion("release_date is null");
            return (Criteria) this;
        }

        public Criteria andReleaseDateIsNotNull() {
            addCriterion("release_date is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseDateEqualTo(Date value) {
            addCriterionForJDBCDate("release_date =", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("release_date <>", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateGreaterThan(Date value) {
            addCriterionForJDBCDate("release_date >", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("release_date >=", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateLessThan(Date value) {
            addCriterionForJDBCDate("release_date <", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("release_date <=", value, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateIn(List<Date> values) {
            addCriterionForJDBCDate("release_date in", values, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("release_date not in", values, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("release_date between", value1, value2, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("release_date not between", value1, value2, "releaseDate");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaIsNull() {
            addCriterion("release_area is null");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaIsNotNull() {
            addCriterion("release_area is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaEqualTo(String value) {
            addCriterion("release_area =", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaNotEqualTo(String value) {
            addCriterion("release_area <>", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaGreaterThan(String value) {
            addCriterion("release_area >", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaGreaterThanOrEqualTo(String value) {
            addCriterion("release_area >=", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaLessThan(String value) {
            addCriterion("release_area <", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaLessThanOrEqualTo(String value) {
            addCriterion("release_area <=", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaLike(String value) {
            addCriterion("release_area like", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaNotLike(String value) {
            addCriterion("release_area not like", value, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaIn(List<String> values) {
            addCriterion("release_area in", values, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaNotIn(List<String> values) {
            addCriterion("release_area not in", values, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaBetween(String value1, String value2) {
            addCriterion("release_area between", value1, value2, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andReleaseAreaNotBetween(String value1, String value2) {
            addCriterion("release_area not between", value1, value2, "releaseArea");
            return (Criteria) this;
        }

        public Criteria andFootageIsNull() {
            addCriterion("footage is null");
            return (Criteria) this;
        }

        public Criteria andFootageIsNotNull() {
            addCriterion("footage is not null");
            return (Criteria) this;
        }

        public Criteria andFootageEqualTo(Integer value) {
            addCriterion("footage =", value, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageNotEqualTo(Integer value) {
            addCriterion("footage <>", value, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageGreaterThan(Integer value) {
            addCriterion("footage >", value, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageGreaterThanOrEqualTo(Integer value) {
            addCriterion("footage >=", value, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageLessThan(Integer value) {
            addCriterion("footage <", value, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageLessThanOrEqualTo(Integer value) {
            addCriterion("footage <=", value, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageIn(List<Integer> values) {
            addCriterion("footage in", values, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageNotIn(List<Integer> values) {
            addCriterion("footage not in", values, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageBetween(Integer value1, Integer value2) {
            addCriterion("footage between", value1, value2, "footage");
            return (Criteria) this;
        }

        public Criteria andFootageNotBetween(Integer value1, Integer value2) {
            addCriterion("footage not between", value1, value2, "footage");
            return (Criteria) this;
        }

        public Criteria andRateIsNull() {
            addCriterion("rate is null");
            return (Criteria) this;
        }

        public Criteria andRateIsNotNull() {
            addCriterion("rate is not null");
            return (Criteria) this;
        }

        public Criteria andRateEqualTo(Float value) {
            addCriterion("rate =", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotEqualTo(Float value) {
            addCriterion("rate <>", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateGreaterThan(Float value) {
            addCriterion("rate >", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateGreaterThanOrEqualTo(Float value) {
            addCriterion("rate >=", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateLessThan(Float value) {
            addCriterion("rate <", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateLessThanOrEqualTo(Float value) {
            addCriterion("rate <=", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateIn(List<Float> values) {
            addCriterion("rate in", values, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotIn(List<Float> values) {
            addCriterion("rate not in", values, "rate");
            return (Criteria) this;
        }

        public Criteria andRateBetween(Float value1, Float value2) {
            addCriterion("rate between", value1, value2, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotBetween(Float value1, Float value2) {
            addCriterion("rate not between", value1, value2, "rate");
            return (Criteria) this;
        }

        public Criteria andRateCountIsNull() {
            addCriterion("rate_count is null");
            return (Criteria) this;
        }

        public Criteria andRateCountIsNotNull() {
            addCriterion("rate_count is not null");
            return (Criteria) this;
        }

        public Criteria andRateCountEqualTo(Integer value) {
            addCriterion("rate_count =", value, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountNotEqualTo(Integer value) {
            addCriterion("rate_count <>", value, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountGreaterThan(Integer value) {
            addCriterion("rate_count >", value, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("rate_count >=", value, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountLessThan(Integer value) {
            addCriterion("rate_count <", value, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountLessThanOrEqualTo(Integer value) {
            addCriterion("rate_count <=", value, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountIn(List<Integer> values) {
            addCriterion("rate_count in", values, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountNotIn(List<Integer> values) {
            addCriterion("rate_count not in", values, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountBetween(Integer value1, Integer value2) {
            addCriterion("rate_count between", value1, value2, "rateCount");
            return (Criteria) this;
        }

        public Criteria andRateCountNotBetween(Integer value1, Integer value2) {
            addCriterion("rate_count not between", value1, value2, "rateCount");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeIsNull() {
            addCriterion("release_type is null");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeIsNotNull() {
            addCriterion("release_type is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeEqualTo(String value) {
            addCriterion("release_type =", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeNotEqualTo(String value) {
            addCriterion("release_type <>", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeGreaterThan(String value) {
            addCriterion("release_type >", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeGreaterThanOrEqualTo(String value) {
            addCriterion("release_type >=", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeLessThan(String value) {
            addCriterion("release_type <", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeLessThanOrEqualTo(String value) {
            addCriterion("release_type <=", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeLike(String value) {
            addCriterion("release_type like", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeNotLike(String value) {
            addCriterion("release_type not like", value, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeIn(List<String> values) {
            addCriterion("release_type in", values, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeNotIn(List<String> values) {
            addCriterion("release_type not in", values, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeBetween(String value1, String value2) {
            addCriterion("release_type between", value1, value2, "releaseType");
            return (Criteria) this;
        }

        public Criteria andReleaseTypeNotBetween(String value1, String value2) {
            addCriterion("release_type not between", value1, value2, "releaseType");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}